package jnpf.message.fallback;

import jnpf.message.UserDeviceApi;
import jnpf.message.entity.UserDeviceEntity;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 调用系统消息Api降级处理
 *
 * @author JNPF开发平台组
 * @version V3.1.0
 * @copyright 引迈信息技术有限公司（https://www.jnpfsoft.com）
 * @date 2021-03-24
 */
@Component
public class UserDeviceApiFallback implements UserDeviceApi {


    @Override
    public UserDeviceEntity getInfoByClientId(String id) {
        return null;
    }

    @Override
    public Boolean update(String id, UserDeviceEntity userDeviceEntity) {return false; }

    @Override
    public Boolean create(UserDeviceEntity userDeviceEntity) {return false; }

    @Override
    public void delete(UserDeviceEntity userDeviceEntity) {

    }

}
